Q3Quaternion_Normalize
You can use theQ3Quaternion_Normalize
function to normalize a quaternion.
TQ3Quaternion *Q3Quaternion_Normalize ( const TQ3Quaternion *quaternion, TQ3Quaternion *result);
quaternion
- A quaternion.
result
- On exit, the normalized form of
quaternion
.DESCRIPTION
TheQ3Quaternion_Normalize
function returns, as its function result and in theresult
parameter, the normalized form of the quaternionquaternion
. Note that on entry theresult
parameter can be the same as thequaternion
parameter.